<form class="layui-form" lay-filter="tpl_menu_auth{$id}" action="{:url('menuAuth/saveData')}">
	<input type="hidden" name="id" class="layui-input" />
	<div class="layui-form-item">
		<label class="layui-form-label">标题</label>
		<div class="layui-input-block layui-col-md8 margin-left0">
			<input type="text" name="name" lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">变量</label>
		<div class="layui-input-block layui-col-md8 margin-left0">
			<input type="text" name="vars" lay-verify="required" placeholder="请输入变量" autocomplete="off" class="layui-input">
		</div>
		
	</div>
	
	<div class="layui-form-item">
		<label class="layui-form-label">会员编号</label>
		<div class="layui-input-block layui-col-md8 margin-left0">
			<textarea name="member_ids" required lay-verify="required" class="layui-textarea"></textarea>
			<div class="zhushi">英文逗号分割多个会员编号</div>
		</div>
	</div>
	

	<div class="layui-form-item">
		<div class="layui-input-block">
			<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submit_menu_auth">保存数据</button>
			<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script>
	// 赋值
	var menu_auth_id = "{$id}";
	var menu_auth_form_value = {$data};
</script>
<script src="/static/js/menu_auth/tpl.js" type="text/javascript" charset="utf-8"></script>
<style>
	
	.zhushi{color: #999; line-height:40px;}
</style>